using System;
using System.Collections.Generic;
using System.Globalization;

using ObjectThinking.Xml.ResourceDescriptionFramework;

namespace ObjectThinking
{
    public sealed class LastNameRule : StringRule
    {
        public LastNameRule()
        { }

        public override bool Validate(ISelf obj)
        {
            return base.Validate(obj, Foaf.LastName, "last name", true, 1, 20);
        }
    }
}